package merchant.service;

import java.util.List;
import java.util.Map;

import merchant.dao.ChargeDAO;
import merchant.dao.SummaryOfCharge;
import hackathon1212.ServletPojoAdapter;

public class ShowSocsInSettlement extends ServletPojoAdapter {
	private static final long serialVersionUID = -1377592942068663504L;

	protected List<SummaryOfCharge> getBusinessMethod(Map<String, String[]> params){
		final long settlementId = Long.parseLong(params.get("settlementId")[0]);
		return ChargeDAO.get().getSOCBySettlementId(settlementId);
	}

}
